import Data
import TrainAction as TA
import TrainText as TT
import UnTaggedAction as ULTA
import UnTaggedText as ULTT
import UserData
import FridgeMagnetData
import DiaryData
import QuestionData


OM = Data.ObjMemory()

# STA = TA.TrainAction('S')
# STT = TT.TrainText('S')
# OM.SaveObj(STA,'./System/TrainAction.pkl')
# OM.SaveObj(STT,'./System/TrainText.pkl')

# LTA = TA.TrainAction('L')
# LTT = TT.TrainText('L')
# OM.SaveObj(LTA,'./Local/TrainAction.pkl')
# OM.SaveObj(LTT,'./Local/TrainText.pkl')

# LTA_B = TA.TrainAction('L')
# LTT_B = TT.TrainText('L')
# OM.SaveObj(LTA_B,'./Local/TrainAction_Buffer.pkl')
# OM.SaveObj(LTT_B,'./Local/TrainText_Buffer.pkl')

# UTA = ULTA.UnTaggedAction()
# UTT = ULTT.UnTaggedText()
# OM.SaveObj(UTA,'./UnTaggedAction.pkl')
# OM.SaveObj(UTT,'./UnTaggedText.pkl')

UD = UserData.UserData()
DD = DiaryData.DiaryData()
FMD = FridgeMagnetData.FridgeMagnetData()
QD = QuestionData.QuestionData()
OM.SaveObj(UD,'./UserData.pkl')
OM.SaveObj(DD,'./DiaryData.pkl')
OM.SaveObj(FMD,'./FridgeMagnetData.pkl')
OM.SaveObj(QD,'./QuestionData.pkl')